package com.sishu.njrtsdms.domain.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 绩点Excel响应类
 */
@Data
@AllArgsConstructor
public class PointExcelVO {

    @Excel(name = "学院", width = 30, needMerge = true)
    private String collegeName;
    @Excel(name = "教师工号", width = 20, needMerge = true)
    private String jobNumber;
    @Excel(name = "教师姓名", width = 20, needMerge = true)
    private String realName;
    @Excel(name = "总绩点", width = 20, needMerge = true, type = 10)
    private BigDecimal totalPoint;
    @ExcelCollection(name = "绩点分配详情")
    private List<PointDetailExcelVO> pointDetails;
}
